#ifndef COLOR_HPP
#define COLOR_HPP
#include <iostream>
using namespace std;

class Color {
public:
	Color(const double,const double,const double);
	Color(void);
	~Color(void);
	
	void set(const double,const double,const double);
	void set(const Color&);
	void set_r(const double);
	void set_g(const double);
	void set_b(const double);

	const double get_r(void) const;
	const double get_g(void) const;
	const double get_b(void) const;

	void mostrar(void) const { cout << "(" << red << "," << green << "," << blue << ")" << endl; }
        
        const Color operator+(const Color&) const;
        const Color operator*(const Color&) const;
        const Color operator*(const double) const;
        
private:
    
	double red,green,blue;

};

#endif
